package cn.zhl.map;

import cn.zhl.map.visitor.Visitor;

/**
 * @program: demos
 * @description:
 * @author: 刘振华
 * @create: 2020-05-19 11:16
 **/
public interface Map<K,V> {
	int size();
	boolean isEmpty();
	void clear();
	V put(K key,V value);
	V remove(K key);
	boolean containsKey(K key);
	boolean containsValue(V value);
	void traversal(Visitor<K,V> visitor);
}
